package com.flow.dao;

import java.util.List;

import com.flow.model.BankCharge;
import com.flow.model.PagerModel;
/**
 * 
 * 银行充值记录Dao接口
 * @author wang
 * @2016-2-16
 * IBankChargeDao.java
 * @param <T>
 */
public interface IBankChargeDao<T> {
	
	public boolean insertBankCharge(BankCharge bankCharge);

	public boolean updateBankCharge(BankCharge bankCharge);
	
	public boolean deleteBankCharge(BankCharge bankCharge);
	
	public BankCharge findBankChargeByHql(String hql);

	public BankCharge findBankChargeByHql(String hql, Object param);

	public BankCharge findBankChargeByHql(String hql, List<Object> params);

	public int universalMethodBankCharge(String hql);
	
	public int universalMethodBankCharge(String hql, Object param);
	
	public int universalMethodBankCharge(String hql, List<Object> params);
	
	public List<T> findBankChargeAllByHql(String hql);

	public List<T> findBankChargeAllByHql(String hql, Object param);

	public List<T> findBankChargeAllByHql(String hql, List<Object> params);

	public PagerModel findBankChargePagerModeled(PagerModel pager, String hql);
	
	public PagerModel findBankChargePagerModeled(PagerModel pager, String hql, Object param);
	
	public PagerModel findBankChargePagerModeled(PagerModel pager, String hql, List<Object> params);
}
